

package com.maoshi.shop.user.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.maoshi.shop.common.util.PageParam;
import com.maoshi.shop.user.comment.model.UserScoreLog;
import org.apache.ibatis.annotations.Param;

/**
 * 用户积分记录
 *
 * @author LGH
 * @date 2020-02-26 16:03:14
 */
public interface UserScoreLogMapper extends BaseMapper<UserScoreLog> {

    Integer getConsecutiveDays(@Param("userId") String userId);

    Page<UserScoreLog> getPage(PageParam<UserScoreLog> page, @Param("userScoreLog") UserScoreLog userScoreLog);
}
